package com.zhenglide.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhenglide.mapper.UserMapper;
import com.zhenglide.model.User;
import com.zhenglide.service.IUserService;

@Service
public class UserServiceImpl implements IUserService {
   @Autowired
   UserMapper userMapper;
	@Override
	public User getUserById(Integer id) {
		return userMapper.selectByPrimaryKey(id);
	}

}
